package com.fare.taluo.application;

import java.io.IOException;
import java.io.OutputStream;
import java.util.List;
import java.util.Map;

import org.codehaus.jackson.JsonGenerationException;
import org.codehaus.jackson.map.JsonMappingException;

import com.fare.taluo.vo.core.AnalyseBaseVo;
import com.fare.taluo.vo.core.LowestPriceQueryVo;
import com.fare.taluo.vo.core.RowKeyInfo;

public interface LowestPriceLaiHuiQueryApplication {



	List<LowestPriceQueryVo> all(
			Map<String, List<RowKeyInfo>> channelRowKeyMap, String bookingType);
	
	String toJSON(List<? extends AnalyseBaseVo> vos,int total) throws JsonGenerationException, JsonMappingException, IOException;
	
	void toExcel(List<? extends AnalyseBaseVo> vos,OutputStream os);
	
}
